import request from '@/utils/request'

//保存地表破裂带记录
export function saveSurfaceRupture(data) {
    return request({
        url: '/surfaceRupture/saveSurfaceRupture',
        method: 'post',
        data: data,
    })
}

//地表破裂带评估
export function evaluate(data) {
    return request({
        url: '/surfaceRupture/evaluate',
        method: 'post',
        data: data,
    })
}

//评估记录是否生成过评估结果
export function hasEvaluateResult(dsrId) {
    return request({
        url: '/surfaceRupture/hasEvaluateResult?dsrId='+dsrId,
        method: 'get'
    })
}